package com.wtwd.campus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.wtwd.campus.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author mjy
 * @since 2022-12-12
 */
@ApiModel(value="DeviceAppPublicFile对象", description="")
public class DeviceAppPublicFile extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "本表用于设备app部分共有文件存储，以package作为app的唯一标识")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "包名")
    private String packageName;

    @ApiModelProperty(value = "app共有的文件类型	1.app图片")
    private Integer appPublicFileType;

    @ApiModelProperty(value = "上传时间(公共文件库可根据上传时间做间隔上传更新)")
    private Long uploadTime;

    @ApiModelProperty(value = "文件相对路径")
    private String filePath;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }


    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public Integer getAppPublicFileType() {
        return appPublicFileType;
    }

    public void setAppPublicFileType(Integer appPublicFileType) {
        this.appPublicFileType = appPublicFileType;
    }

    public Long getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(Long uploadTime) {
        this.uploadTime = uploadTime;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    @Override
    public String toString() {
        return "DeviceAppPublicFile{" +
                "id=" + id +
                ", packageName='" + packageName + '\'' +
                ", appPublicFileType=" + appPublicFileType +
                ", uploadTime=" + uploadTime +
                ", filePath='" + filePath + '\'' +
                '}';
    }
}
